This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Problems with ODBC Select statement in Notes ~Jennifer Ekponemarakoi 12.Jan.04 05:20 PM a Web browser Notes Client 6.0.3Windows 2000
Try placing the select into a string first like:
qryString = "SELECT * FROM ORACLE_TABLE WHERE TRUNC(MY_DATE) > TO_DATE('" + sDATE.DateOnly + "','MM/DD/YYYY') - 1 AND TRUNC(MY_DATE) < TO_DATE('" + eDATE.DateOnly + "','MM/DD/YYYY') + 1"
OraQuery.SQL = qryString
+++++++++
That method usually works for me. Remember to make sure your quotes are escaped. Hard to tell here if they are, but they may cause you problems as well.